package java_class_work.week07.thread;

/**
 * @Auther: admin
 * @Date: 2022/10/25 15:00
 * @Description: 创建线程的三种方式，一：继承Thread类
 */

public class Thread01 extends Thread {
    @Override
    public void run() {
        for (int i = 0; i < 1000; i++) {
            System.out.println("1号线程："+i);
        }

    }
}
